#include <stdio.h>
int main(void)
{
    float f;
    scanf("%f", &f);

    printf("华氏温度%.2f = 摄氏温度%.2f\n", f, 5*(f-32)/9);

    return 0;
}